package com.eagledata.project.business.vehicleInfo.service;

import com.eagledata.project.business.vehicleInfo.domain.VehicleInfo;
import java.util.List;

/**
 * 车辆 服务层
 * 
 * @author eagledata
 * @date 2018-09-09
 */
public interface IVehicleInfoService {
	
	/**
     * 查询车辆信息
     * 
     * @param id 车辆ID
     * @return 车辆信息
     */
	public VehicleInfo selectVehicleInfoById(Long id);
	
	/**
     * 查询车辆列表
     * 
     * @param vehicleInfo 车辆信息
     * @return 车辆集合
     */
	public List<VehicleInfo> selectVehicleInfoList(VehicleInfo vehicleInfo);
	
	/**
     * 新增车辆
     * 
     * @param vehicleInfo 车辆信息
     * @return 结果
     */
	public int insertVehicleInfo(VehicleInfo vehicleInfo);
	
	/**
     * 修改车辆
     * 
     * @param vehicleInfo 车辆信息
     * @return 结果
     */
	public int updateVehicleInfo(VehicleInfo vehicleInfo);
	
	/**
     * 保存车辆
     * 
     * @param vehicleInfo 车辆信息
     * @return 结果
     */
	public int saveVehicleInfo(VehicleInfo vehicleInfo);
	
	/**
     * 删除车辆信息
     * 
     * @param id 车辆ID
     * @return 结果
     */
	public int deleteVehicleInfoById(Long id);
	
	/**
     * 批量删除车辆信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int batchDeleteVehicleInfo(Long[] ids);
	
}
